package com.ruoyi.project.pandian.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点记录对象 pd_record
 * 
 * @author ruoyi
 * @date 2023-04-13
 */
public class PdRecord
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private String pdGuid;

    /** 库存编码 */
    @Excel(name = "库存编码")
    private String stockId;

    /** 托盘条码 */
    @Excel(name = "托盘条码")
    private String trayCode;

    /** 货位编码 */
    @Excel(name = "货位编码")
    private String cargoSpaceId;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String productId;

    /** 批号 */
    @Excel(name = "批号")
    private String lotNo;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 初始数量 */
    @Excel(name = "初始数量")
    private String oldQuantity;

    /** 盘点后数量 */
    @Excel(name = "盘点后数量")
    private String newQuantity;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Integer recordType;
    @Excel(name = "修改时间")
    private String createTime;

    private String productDetailId;

    private String lineId;

    private String startTime;

    private String endTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getProductDetailId() {
        return productDetailId;
    }

    public void setProductDetailId(String productDetailId) {
        this.productDetailId = productDetailId;
    }

    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    public Integer getRecordType() {
        return recordType;
    }

    public void setRecordType(Integer recordType) {
        this.recordType = recordType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setPdGuid(String pdGuid)
    {
        this.pdGuid = pdGuid;
    }

    public String getPdGuid() 
    {
        return pdGuid;
    }
    public void setStockId(String stockId) 
    {
        this.stockId = stockId;
    }

    public String getStockId() 
    {
        return stockId;
    }
    public void setTrayCode(String trayCode) 
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode() 
    {
        return trayCode;
    }
    public void setCargoSpaceId(String cargoSpaceId) 
    {
        this.cargoSpaceId = cargoSpaceId;
    }

    public String getCargoSpaceId() 
    {
        return cargoSpaceId;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setLotNo(String lotNo) 
    {
        this.lotNo = lotNo;
    }

    public String getLotNo() 
    {
        return lotNo;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setOldQuantity(String oldQuantity) 
    {
        this.oldQuantity = oldQuantity;
    }

    public String getOldQuantity() 
    {
        return oldQuantity;
    }
    public void setNewQuantity(String newQuantity) 
    {
        this.newQuantity = newQuantity;
    }

    public String getNewQuantity() 
    {
        return newQuantity;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pdGuid", getPdGuid())
            .append("stockId", getStockId())
            .append("trayCode", getTrayCode())
            .append("cargoSpaceId", getCargoSpaceId())
            .append("productId", getProductId())
            .append("lotNo", getLotNo())
            .append("supplier", getSupplier())
            .append("unit", getUnit())
            .append("oldQuantity", getOldQuantity())
            .append("newQuantity", getNewQuantity())
            .append("recordType", getRecordType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
